/*** 1. Global Style START ***/
*,
:before,
:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  min-height: 100%;
  color: #666;
  background: #f2f2f2;
  overflow-x: hidden;
  // overflow-x: hidden;
  // overflow-y: scroll;
}

body {
  line-height: 24px;
  font-size: 14px;
  line-height: 24px;
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  // font: 14px "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", Tahoma, Arial, sans-serif;
}

#app {
  height: 100%;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*** 1. Global Style END ***/

/*** 2. 滚动条 START ***/
/* * {

  &::-webkit-scrollbar-track,
  &::-webkit-scrollbar-thumb {
    border-radius: 999px;
    border: 4px solid transparent;
  }

  &::-webkit-scrollbar-track {
    // 外层轨道
    box-shadow: 1px 1px 8px rgba(0, 0, 0, .2) inset;
  }

  &::-webkit-scrollbar-thumb {
    // 拖动条
    min-height: 20px;
    background-clip: content-box;
    box-shadow: 0 0 0 8px rgba(0, 0, 0, .2) inset;
  }

  &::-webkit-scrollbar-corner {
    // 边角
    background: transparent;
  }

  &::-webkit-scrollbar {
    display: none;
  }
} */

/*** 2. 滚动条 END ***/
/*** 3.Reset ***/
body,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
p,
form {
  margin: 0;
}

article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary {
  display: block;
}

ol,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img,
input,
select {
  vertical-align: baseline;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  /* 去掉点击链接和文本框对象是, 默认的半透明覆盖层 */
}

a,
input,
textarea,
button {
  outline: none;
}

/* FF */
input[type=reset]::-moz-focus-inner,
input[type=button]::-moz-focus-inner,
input[type=submit]::-moz-focus-inner,
input[type=file]>input[type=button]::-moz-focus-inner,
button::-moz-focus-inner {
  border: none;
  padding: 0;
}

/*** 3.Reset END ***/

/*** 防止浏览器自动填充时的背景色 START ***/
input:-webkit-autofill {
  box-shadow: 0 0 0px 1000px white inset !important;
}
/*** 防止浏览器自动填充时的背景色 END ***/
